package MapAndSet.Set;

import java.util.Set;
import java.util.TreeSet;

public class TestTreeSet {
    public static void main(String[] args) {
        Set<String> set = new TreeSet<>();
        set.add("a");
        set.add("g");
        set.add("tq");
        set.remove("a");
        boolean flag =set.contains("g");
        System.out.println(flag);
        System.out.println(set);
    }
}
